﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using RPGX.ServerAdmin.Properties;
using System.Configuration;

namespace RPGX.ServerAdmin
{
    public static class Configuration
    {
        #region Public Methods

        public static string GetCurrentServerName()
        {
            string s = ConfigurationManager.AppSettings["serverName"].ToString();

            return s;
        }

        public static string GetServerExeName()
        {
            string s = ConfigurationManager.AppSettings["serverExeName"].ToString();

            return s;
        }

        public static string GetServerExePath()
        {
            string s = ConfigurationManager.AppSettings["serverExePath"].ToString();

            return s;
        }

        public static string GetServerExeArguments()
        {
            string s = ConfigurationManager.AppSettings["serverExeArguments"].ToString();

            return s;
        }

        #endregion
    }
}
